<!DOCTYPE html>
<html>

<head>
	<meta charset='UTF-8'>
	<script src="js/modernizr.custom.80028.js"></script>
	
	<title>Sideways Headers</title>
	
	<link rel='stylesheet' href='css/style.css'>
	
	<style>

    aside {
        display: block;
        position: relative;  
        margin: 40px 0;
    }
    
    aside h3 {
        font: bold 12px Sans-Serif;
        letter-spacing: 2px; 
        text-transform: uppercase;
        background: #369;
        color: #fff;
        padding: 5px 10px;
        margin: 0 0 10px 0;
        line-height: 24px;
    }
    
    /* Class name via Modernizr */
    .csstransforms aside {
        border-left: 34px solid #369;
        padding-left: 10px;
    }
    .csstransforms aside h3 {
    
        /* Abs positioning makes it not take up vert space */ 
        position: absolute;
        top: 0;
        left: 0;
        
        /* Border is the new background */
        background: none;
        
        /* Rotate from top left corner (not default) */
        -webkit-transform-origin: 0 0;
        -moz-transform-origin:    0 0;
        -ms-transform-origin:     0 0;
        -o-transform-origin:      0 0;
        
        -webkit-transform: rotate(90deg); 
        -moz-transform:    rotate(90deg); 
        -ms-transform:     rotate(90deg); 
        -o-transform:      rotate(90deg); 
    }
	
	</style>
</head>

<body>
  
	<div id="page-wrap">
	
	  <button id="fake">Toggle Browser Support</button>
		
		<aside>
          <h3>Heading and stuff</h3>
          <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
    </aside>
    
    <aside>
          <h3>Heading and stuff</h3>
          <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
        <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
        <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
    </aside>

	</div>
	
	<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
	<script>
		 $("#fake").click(function() {
		  $("html").toggleClass("csstransforms");
		 });
	</script>
	
</body>

</html>